package Zyai;
//书籍有书名，出版社，作者，作者等信息
public class Books {
    String tilie;
    String press;
    String author;
    double date;
    public  void  hh(){
        System.out.println("书名:"+tilie+"\n出版社:"+press+"\n作者:"+author+"\n出版日期"+date);
    }

    public static void main(String[] args) {
        Books b = new Books();
        b.tilie="金瓶梅";
        b.press="新加坡南洋出版社";
        b.author="笑笑生著，董玉振主编";
        b.date=2003;
        b.hh();
    }
}
